package cn.tedu.spring.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * 1.保证优先加载此类
 * 注解:该类为配置类。工程会优先加载此类
 * 2.保证能够自动扫描;
 * ComponentScan注解：自动扫描注解
 *
 */
@Configuration  // 此注解作用是优先加载此类
@ComponentScan("cn.tedu.spring")
public class SpringConfig {


}
